<notempty name="tree">
<volist name="tree" id="list" >
	<dl class="cate-item">
		<dt class="cf">
			<form action="{:U('departmentEdit')}" method="post">
				<div class="opt-btn cf">
					<!-- <a title="{$list.status|show_status_op}" href="{:U('setStatus?ids='.$list['id'].'&status='.abs(1-$list['status']).'&model=auth_department')}" class="ajax-get">
						<neq name="list['status']" value="0">
							<i class="icon-lock"></i> 禁用
						</neq>
						<neq name="list['status']" value="1">
							<i class="icon-unlock"></i> 启用
						</neq>
					</a>　 -->
				<!-- 	<a title="成员" href="{:U('departmentMember?id='.$list['id'])}"><i class="icon-user-md"></i> 成员</a>　 -->
					<a title="添加小组" href="{:U('Auth/team?department_id='.$list['id'])}"><i class="icons-add"></i> 小组管理</a> 
					<a title="编辑部门" href="{:U('departmentEdit?id='.$list['id'].'&father_id='.$list['father_id'])}"><i class="icon-pencil"></i> 编辑部门</a>　
				<!-- 	<a title="删除" href="{:U('departmentRemove?id='.$list['id'])}" class="confirm ajax-get"><i class="icon-remove"></i> 删除</a>　 -->
				</div>
				<div class="fold"><i></i></div>
				<div class="order"><input type="text" name="sort" class="text input-mini" value="{$list.sort}"></div>
				<div class="order">{$list['status_text']}</div>
				<div class="name">
					<span class="tab-sign"></span>
					<input type="hidden" name="id" value="{$list.id}">
					<input type="text" name="department_name" class="text" value="{$list.department_name}">
					<input type="hidden" name="father_id" class="text" value="{$list.father_id}">
					<!-- <a class="add-sub-cate" title="添加小组" href="{:U('Auth/team?department_id='.$list['id'])}"><i class="icons-add"></i></a> -->
				<!-- 		<a class="add-sub-cate" title="添加子部门" href="{:U('departmentAdd?father_id='.$list['id'])}"><i class="icons-add"></i></a> -->
					<span class="help-inline msg"></span>
				</div>
			</form>
		</dt>
		<notempty name="list['_']">
			<dd>
				{:R('Auth/departmentTree', array($list['_']))}
			</dd>
		</notempty>
	</dl>
</volist>
<else/>
	<dl class="cate-item">
		<dt class="cf">
			<div class="empty-div"> Oh~亲爱滴,暂时还没有内容!</div>
		</dt>
	</dl>
</notempty>